#ifndef VDLOCMES_H
#define VDLOCMES_H

//#include <QtGui/QWidget>
//#include "ui_VDLocMes.h"

#include <QObject>

// qt
class QSettings;
class QSplitter;

// my
class VDUserListWgt;
class VDUser;
class VDCoreChat;

class VDLocMes : public QObject
{
	Q_OBJECT

public:
//	VDLocMes(QWidget *parent = 0, Qt::WFlags flags = 0);
	VDLocMes(QObject *parent = 0);
	~VDLocMes();

	bool isEnter(){ return (m_userListWgt != NULL); }

private:
	void readSetting();
	void writeSetting();

	VDUser *readSettingUser();
	void writeSettingUser(const VDUser *user);

private:
	VDUserListWgt *m_userListWgt;
	VDCoreChat *m_chat;

private slots:
};

#endif // VDLOCMES_H
